package com.example.pet.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import nonapi.io.github.classgraph.json.Id;

import java.io.Serializable;

@Data
@ApiModel("购物车")
public class Shoppingcart implements Serializable {
    @Id
    @ApiModelProperty("购物车id")
    private Integer shoppingCartId;
    @ApiModelProperty(value = "用户id", hidden = true)
    private Integer userId;
    @ApiModelProperty("商品id")
    private Integer supplyId;
    @TableField(exist = false)
    private Supply supply;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private Classification classification;


}

